package com.woniuxy.food.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜品sku表
 * </p>
 *
 * @author 刘德华
 * @since 2023-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("food_sku")
public class FoodSku implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * skuID
     */
    @TableId(value = "sku_id", type = IdType.AUTO)
    private Integer skuId;

    /**
     * 关联商家
     */
    private Integer storeId;

    /**
     * 关联spu
     */
    private Integer spuId;

    /**
     * sku名称
     */
    private String skuName;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 折后价
     */
    private BigDecimal discountPrice;

    /**
     * 主图
     */
    private String mainPic;

    /**
     * 销量
     */
    private Long salesCount;

    /**
     * 菜品状态 NORMAL 上架| FORBID 下架
     */
    private String skuState;

    /**
     * 快速查询码
     */
    private String quickQueryCode;


}
